package com.ctshk.rpc.train.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 检索req
 * </p>
 *
 */
@Data
@ApiModel(value="TrainDetailAppQueryReq对象", description="火车产品详情PCreq")
public class TrainDetailAppQueryReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品id")
    private Long id;

    @ApiModelProperty(value = "小童人数")
    private Integer childNum = 0;

    @ApiModelProperty(value = "成人人数")
    private Integer adultNum = 0;

    @ApiModelProperty(value = "车次名称")
    private String trainNumberName;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @NotNull(message = "请选择出发日期")
    @ApiModelProperty(value = "出发日期")
    private LocalDate departureDate;

    @ApiModelProperty(value = "席位等级名称")
    private String seatLevelName;

    @ApiModelProperty(value = "外挂系统Id")
    private Long systemId;


}
